#! /usr/bin/python python3

a = int(input('请输入数字:'))
a |= (1 << 2 | 1 << 4 | 1 << 6)
a &= ~(1 << 1 | 1 << 5)
print(a)



